mdns: detect uconfig devices
authorJohn Crispin <[email protected]>
Mon, 26 May 2025 09:10:59 +0000 (11:10 +0200)
committerJohn Crispin <[email protected]>
Mon, 26 May 2025 10:30:33 +0000 (12:30 +0200)
Signed-off-by: John Crispin <[email protected]>
files/usr/share/ufp/plugin_mdns.uc

index 6a0f16feb296db181f82ca0b317c53b33bc7a1b8..308d3794f27be95ec9d09a9c99b1ba9b444b344e 100644 (file)
@@ -174,6 +174,13 @@ function handle_fritzbox(txt)
        return ret;
 }
 
+function handle_uconfig(txt)
+{
+       let ret = [];
+       push(ret, "%class|mdns_uconfig|uconfig");
+       return ret;
+}
+
 const service_handler = {
        "_airplay._tcp": handle_apple,
        "_companion-link._tcp": handle_apple,
@@ -186,6 +193,7 @@ const service_handler = {
        "_hue._tcp": handle_hue,
        "_fbox._tcp": handle_fritzbox,
        "_avmnexus._tcp": handle_fritzbox,
+       "_uconfig._udp": handle_uconfig,
 };
 
 function arp_resolve(list)
@@ -292,6 +300,7 @@ function init(gl) {
                mdns_printer: 5.0,
                mdns_scanner: 1.0,
                homekit_class: 2.0,
+               mdns_uconfig: 10.0,
        });
 }